david.l, I don't think you need to change any core files to get the info you need.
This grabs everything for the user and sets it in an array $currentuser
Then you can use the info from that:
PHP Code:
$userid = $_SESSION['zpuid'];
$currentuser = ctrl_users::GetUserDetail($userid);
This grabs everything for the user and sets it in an array $currentuser
Then you can use the info from that:
PHP Code:
$userPass = $currentuser['password'];
$userName = $currentuser['username'];