added firebase integration