added links to the proper routes