Added firebase integration.