Model for message controller