Updated Router.php