register with password
Implemented login interface
add debug mode to skip ams verify
implemented password view
complete register logic
ensure legal password
complete login logic