switch to separate firebase