add client side password length and password match check