Added -n option for newline after password