WIP firebase integration