real time chat application using socket.io