setting up socket.io