Group management api that supports locks, empheral data and membership join and leave notification