base sessionmanager classes