add dbsession support