Added validation rules to User