Chat application written in node.js using socket.io