#125 #51 add code to search controller