final improvement in signup.php