Moved google authentication into a service