adding socket.io for communicating with nodejs