adding connection to Firebase backend