updates for storing ImageFiles and sending information back to user in
JSON (salesslip).
CHanges on LogMessage and User domain class.