created the post model and generated its form