Removed duplicate code from pwreq,pwrec,reg.html