Updating UserClient to use the HttpClientFactory for creating http clients