Add validations to messages model