How does financial affect credit rating, and credit history connect with mortgages?