fixed users and group handling in UI (was broken after UI refactoring