to fix the post model and finish the function of create new post
to fix the post model and finish the function of create new post