rudimentary search functional
refactored rudimentary search with search controller, step 1
blank search redirects to home w/error flash