make links dispatch to router