Added socket.io on the frontend side