Set up error messages validations