add the validate confirm
auto login support by js