Erro in return from onlineUsers()
New endpoint /app/ping give the number of users currently online.
Rewrite client.js