Handle validations at the controller level