Add user information when log entries are created.

Resolves T137.