add pdfkit to application, use middleware