best way to get a home loan with bad credit rating