Building a chat room using Node.js