use firebase for persistance