modified index html and participant service to implement counter