User management

This should finish off the remaining issues with https://github.com/ozone-development/ozp-center/issues/73. I'm sorry that a commit or two went to master before I split this branch off.