New user model

This adds a custom user model.
All currently used databases have to be reset after merging this PR.