reconfigure posts controller and views