make cache session dependand, remove user dependency from client