create named routes and apply to links