usually in registration page we should confirm password and when confirm password matches with password input then make user can register