You are completely wrong :D ;)
When the user is added to the database, its using:
$newUser = UserPeer::create($username, $newPassword, $emailAddress, $title, $firstname, $lastname);
Which is in userpeer.class.php
static function create($username, $password, $email, $title, $firstname...