added `getUserInfo` call for socket.io