Home page now retrieves data correctly, and displays relevant message when no data is found