Refactored Google connnection initialization for session and spreadsheet