adds business logic for google OAuth