added links and change routes to name routes