added server to socket.io