adding proper links to routes