calling firebase to grab events for each class