Added registration email and password confirmation.