added socket.io to the client