Minor fix. getGroups in auth redefined as rootScope function