Support login UI
Switch login as a state with the own LoginCtrl, instead of a function in AppCtrl