Add private groups and logic about secret groups