replaced sessionmanager