loan validations