Added spreadsheet login code