Made changes to the router to regex parse the ui