adding pdf button
adding pdf function
making pdfs based on fpdf