Implemented google api auth procedure