back-end domain:  refactoring DAO (sessions, transactions)