add support for userId for clientViaUserConsent