clean code in routes.php