adding dependency on session