add messages and message controller