session management improved