before firebase init