basics of LoginCtrl test