fixing the basic search view so it displays pages
writing a basic search form