adding socket.io stuff