changed stats html page to show a message when no activites are present in database