updated router to redirect to prettier url