Websocket Implemented for Recognition