Refactored joinGroup()/leaveGroup() methods to make us of isMember()