added links using link_to and edit feature