added api key property to shared logger; passing key into session header