change in injecting session, following changes made in framework