fixed search controller methods

also added error page for searching
Merge pull request #50 from kevinzurek/feature-medical

fixed search controller