refactored user creation and view interface