changes to mainActivity, ChatFragment to show the chat interface in the mail layaout