Implemented ValidateAndRefreshTokens