Make LoginEvent functional