Added validations for User model