add api key in user agent