added option to preset the password