Implements Google OAuth on the front-end.