Using Java code (instead of JavaScript code) now to sign-in with Google.