membershipQuery can be replaced by checking that the user is a member in the space. Currently the backend sends owners/moderators/members so no need for an additional query. We should paginate the membership return in a way that puts the user memebrship on top and only gives 10 members with more when they click the view all button.