modify delete group handler,add leader check