tested send data from client via websocket and the way back