adding preferences to the search form