make socket.io working