code for uploading photo and pdf in cregister nominee and remove live word from script.js to correct delete functionality and remove message from forgot password