final merge all 3 

pages, posts and comments controller