begins to integrate firebase