Improve code for post controller.