added postviews and badge models