added different password prompt mode