added unencrypted password functionality