create action of post controller