removed other methods adnd updated getListOfImages so that it retrieves all records from Firebase