using firebase as data store