created search functions and views for categories & items