Create Messages

I would, in fact, use a validation instead of a before action, but I wouldn't do it with a conditional like that ^.