added redirect for no search results, error message not working