An attempt to make the chat room work