connected to Firebase