basic firebase integration for posts CR-D