public RegistrationRequest(Credentials credentials) { person = new person(); person.email = credentials.UserName; person.password = credentials.Password; }