Improvements to user accounts

Includes user registration, basic profile editing, and admin-side user
management support.