change get_access_token method