Fixing the news page and press page functionality

modified the pages.php page in controllers and setup.php pages.