added flash msg
implemented Post object
fin