index working, link not passing the id number