Firebase now initialised within API