implement Post model for blog app