switching to firebase