upgrade register and login UI