Code for the Searchbox