add client-side support for toggling attendance