added redo flow & updateded PasswordEncoder