hook up to firebase