fixed issue with AJAX url
added show text to index page
now gives a warning for empty results