trying the socket.io emit and on