register works, hide menuitems depends on authorities, set username visible