added form validatino for passwords