Refactoring: use injector for creating lazy resolve session