Implemented validations
Implemented custom validation errors