Add a SantagramUser data type and fix a small bug in the DB access code