created new route to add links and fixed tests