add pdf generator for certificate