adding categories and the search form