Adding support for adding and validating passwords