Tweak to url method to include closing of the URL, assumes the passes part of a regular expression
Updated the action dispatch processes