Fixed adding access to session object