Bug after kiosk-mode

update_user_privileges() was commented out