connected the app to Firebase