check user and travel on socket.io connection