Revert "change hard coded route to use URL class."

This reverts commit c7825bbb9ff38ecca953720d3d162240998ac1f2.