update registration code

adding the registration form for the medical doctors to register