I am implementing Google log in for the first time as described here and here. I am using HTML with Javascript. The problem that needs solving is as follows: How can I, after the initial login, on a different page (say a landing page, or portal that the user sees after logging in), check if the user is logged in?