added url generation so this is a bi-directional route solution