use an event login_success when a login is completed