setting up session management for log only