added api for figuring out who initiated the app in a session

Ignore-this: 389f01ef651924b359e5680ce53fe7fe

darcs-hash:20140208033826-c21fe-10c22a79f5a9d914a9bd2f009d2dc9db1cf8550c