Track user logging in successfully

What if we do this to track sign-outs?
```
if(localStorage.getItem('logged-in')){
  mdn.analytics.trackEvent({
    category: 'Sign-in',
    action: 'Sign-out'
  });
}
localStorage.removeItem('logged-in');
```