added validations to user models