password authentication

added a new field for password checking