add pdf export routes and mime type stupport for pdf