add LeaderChangeListener and AppMembership