completed model validation for user model