added basic firebase communication