added dynamic path to upload_to and made add_user, add_child, add_pdf file