Added method in Core.java to fetch all online users in one list.