finish the chat room example in node.js