created the post model