fix routes and add links