what is mortgage eligibility criteria.