add post and category model