adding search form
adding local storage and fixing search vars