fix all the register bug
add /login and fix password storage error