non-working first attempt at refactoring user-registration to user-management