firebase resource setup