fixing bug with permissions of menus
resolved conlict after merge
only show toggle if logged in