safe user.php, register improved