Adding socket.io stuff