How can I fix this

I have a list of jobSeekers and I want to create a new user.
But I face this error:

unexpected token ‘}’, expected one of token or sequence:
<exp_nullary(ob)>?Motoko(M0001)

public func SignupJobSeeker(newEmail: Text, newPassword: Text, newAllowExtraEmails: Bool): async Result {
// Check if the user already exists
var currentList = jobSeekers;
while (List.size(currentList) > 0) {
switch (List.head(currentList)) {
case (?user) {
if (user.email == newEmail) {
return #err(“User already exists”);
};
currentList := List.tail(currentList);
};
case null {
break
};
}
};

// Hash the new password
let hashedPassword = hashPassword(newPassword);

// Add the new user to the list
let newUser: User = { email = newEmail; password = hashedPassword; allowExtraEmails = newAllowExtraEmails };
jobSeekers := List.cons(newUser, jobSeekers);

return #ok(200, “Successfully signed up”);
}

In Motoko you should give symbolic name to the loop later to be able to exit from it.
Here I added “whileLoop” name to your loop and later use it for break “break whileLoop

label whileLoop while (List.size(currentList) > 0) {
  switch (List.head(currentList)) {
    case (?user) {
      if (user.email == newEmail) {
        return #err("User already exists");
      };
      currentList := List.tail(currentList);
    };
    case null {
       break whileLoop;
    };
  }
};