socket.io and some other stuff