fixed bug when user without groups caused main page to collapse