managing users and affiliations