   }
 
   private static func firebaseApp() -> FIRApp? {
-    guard let app = FIRApp(named: Secrets.Firebase.Huzza.Production.appName) else {
+    guard let app = self.getAppInstance() else {
       self.start()
-      return FIRApp(named: Secrets.Firebase.Huzza.Production.appName)
+      return self.getAppInstance()
     }
 
     return app

    guard let app = self.firebaseApp() else { return nil }
    return FIRAuth(app: app)
  }
}

  }

  public func deleteDatabase() {
    guard LiveStreamService.getAppInstance() != nil else { return }
    LiveStreamService.firebaseApp()?.delete({ _ in })
  }

