Chat application using node.js and socket.io