moved firebase stuff to stores