fix user permission listing, user delete, do misc cleanup.