Refactor microcosms/membership views