Fixes periodic ajax request
Adds periodic ajax for number of people