DB: Add new dynamic-model query.
DB: Add users table.
Reports: Fix templates for stocks reports.