Finally got google Profile Id saved.  Key learning: (1) from google to the DOM.  (2) Call the initialise code immediately after authorisation