completed chatroom chat, to continue with final pm chat functionality