improved error messages, improved search page