fixes websocket error.
fixes user check in ot integration