google callback route refactoring