+ handle connection to the headless service from multiple location: hub and app' UI