added password confirmation option