implemented sending/receiving messages via web socket
removed ws handler