small change to store the lastname

during registration and link fix in header.inc.php