passing apikey in the service