In viewDidLoad add validUsernameSignal and validPasswordSignal and use them to set text field backgroundColor. In updateUIState delete non-reactive code.