fixing firebase stuff

firebase can't store fns, so need to just do the new stuff, which is
refs