refactor routes's url