Ground work for Token Refresh