advanced session management