added an error message if user tries to search something that doesn't exist