added events to Login View