adding a couple logging statements to session