Add user id to server side segment io events

:fork_and_knife: Server side segment io events now include the current users id if a user is currently logged in otherwise it is tracked as anonymous.
Could use a `@param` for the new `user` parameter (esp. because we expect to be passing in `nil`, which may be somewhat surprising).