add basic user/permission display and management, clean up some old code