rebuilt login form structure and ui