resolving errors for newuser.php