Find the solution to iterate through the JSON arrays. When you call,
getUserArray(), it returns the array of names in the Firebase database.