adding single post controller and changes