start adding firebase code