shakes the rust off the refresh token code, adds new parameters