update register&verify&reset

logout when completed