LoginCtrl unit test added