Use User model not string from settings
Get or create categories in populatedb command

Issue #200