catches user hit enter on search input box of home page