Added validations for user model