integrated the search and results into a single 'index' view via wrapping the code in an if-block, see the controller