renaming function actionPDF into create PDF
changes in main.php