update the reg.ejs and add the upload.ejs