added search error and results view