added: 从Account类中分离出Register类