undid changes to TextMessagesController