Modified code to allow for searching, persistence between pages, ability to work with the select box (clearing the textbox).