Understanding the relationship between users and groups