add preferences to schema (we'll later want to run a mongo migration
to move many random variables into user.preferences, such as the
'flags' document)