Restructure login/registration UI.