api websocket client added