sessionmanager: first introduction of sessionmanager.