Refactor all links to use link_to. Implement delete action.