moving websockets to subrouter