more flexiblity with password prompt