refactored auth.py to be generic on any google api

refactored ga to work with new auth.py