Now we fetch only those members from the database that we want to display with an activity.