add logging to session create