Autoload url helper and changes in header.php and footer.php