changed findbycategory and added searchresults controller