add retrieved username and password and addedby

retrieve username from name and put encrypt to password and put addedby
who