cleaned LoginCtrl and UI