chat application based on node.js