Ways to get an emergency mortgage with bad credit