deal with success callback with accessToken as param