Session management plugin fixed