added the ability to set the password