setup messagesviewcontroller