change regex in router to allow trailing slashes