Set production to debug logging
Turn on errors in production
Fix distinct issue with postgres
Cleanup look and ui
Add total to the report and fix Date.today