created a post model