Handling WS response