Working join, leave and reset functionality