download counter

added a download counter for pdf and xls file
added some basic statistics