update message controller to add in attribute for a sender and receiver