Real time chat app with node.js and mongoDb