implementing links search form
updated search method for links
fixed typo in links index action