Added validations to the admin registration form.