membership csv export refactored