(feature) display search results on redirect to results page

This fixes the issue mentioned on my previous pull request - when a user searches from the main page, they are now redirected to the results page and shown the results.  

This is messy - there is a lot of duplicated code and commented out stuff.  I plan on cleaning it up, but might not happen till tomorrow.