Create post controller.