adding user-agent header to access token request