Add url segments to routing