changes for token refresh