usage of socket.io