fixed the anon_session bug where dbconn was used instead of pool
Also added logging statements to try and track down the persistent null pointer exception.
Merge branch 'hotfix/bug_fix'