fix install UI, login UI and write some register code