updated to use AccessToken