added room and private room capabilities to the chat module