Added validation rules for User model