resolving token refresh