changes Google API OAuth connection method