implement add_route()  method ,fix bugs in input uri path