Fix loggging for user sessions

git-svn-id: https://rebeccablackos.svn.sourceforge.net/svnroot/rebeccablackos@3180 56e3d1a8-0179-4092-b3e2-9fbbcda0c0a9