add search configuration
Basic search form + fixes