made slight adjustment to Controller.php to weed out stray / in the URL parse