add membership command handler