Chat application using socket-io