Added registration form and associated methods.