refactor: password validation function moved to custom validators; refactor: adjusted model's validation fields