/**
* Creates a Person record from this SignupForm.
* A Person is used as input to {@link AccountRepository} to create a new member Account.
*/
public Person createPerson() {
return new Person(firstName, lastName, email, password, gender, new LocalDate(year, month, day));
}