fix bug when trying indexOf on a integer in JS. create an admin page to show how many current connections there are