DB redesign: removed Consumption and Production tables.
changed getCreated() to new getDate() method
fixed bug with 'username'