frontend support for newUser and setUserRole