Adds all_online method to return an array of all online id