tidied up routes.php