connecting read model to firebase