modify register and login UI seq.