groups need to be returen even if there is no users attached to the group
fixing logical wrong and syntax wrong with return