Making sure session is available when doing lazy load