messages e validations