Changed SessionManager usage