added sockets to monitor online users
integration to ruby front-end