Add action detail page for a given user.
Add support for protocol version 2.

Version 2 changes errors that occur before a session is established to
send back the client's session ID instead of a username.