AUTO-COMMIT: SERVER CODE