Add login event
Add login handler to the application