}
/*
Creates a new user with a provided password.
*/
function newUser($stuid, $name, $password, $email)
{
    $stuid = makeStringSafe($stuid);