Why credit matters for housing