adds validations to user model and adds messages model with full belongs to syntax