add two new function: upload pdf & download submitted file