adding routes to links, so that they all work