Changed getAccessTokenById() to getAccessToken()