Updated newUser.php to validate users, and made changes to database.