integration with firebase for events data