Homelessness and risk of losing a home