changes to the message controller