Release idoc update1

Merging #599 and #609 here, to make UserLog objects much more robust when a single user logs in across multiple tabs.

Please see original pull requests!