pdf background uploader and page creation