Remove duplicate onLogin event.