Back-end for iToilet