splits TradSignInUi into separate file, adds javadoc, fixes demo to match new sigs
splits sign-in UI into separate class for readability, moves debug utils into separate class, de-hardcodes sign-in name attr name