updating to include sessionmanager