logging oauth2 access token logic