add loginCtrl and alert to show when event is trigger or not