fixing spelling of getAccessToken