Added logging and interactive login event dispatching