working in a regex to handle a better url construction for the route