```coffeescript
Space.messaging.define Space.messaging.Event, 'Space.accounts',

  UserCreated: {
    sourceId: Guid
    timestamp: Date
    username: Username
    email: EmailAddress
    password: Password
  }

  UserLoggedIn: {
    sourceId: Guid
    timestamp: Date
    via: String
  }

  UserLoginFailed: {
    sourceId: Guid
    timestamp: Date
    via: String
    error: String
  }
```

Remove event properties now setup by default
user
```coffeescript
Space.messaging.define Space.messaging.Event, 'Space.accounts',

  UserCreated: {
    username: Username
    email: EmailAddress
    password: Password
  }

  UserLoggedIn: {
    via: String
  }

  UserLoginFailed: {
    via: String
    error: String
  }
```
assistant