simplified logic on member directory and manage users pages