fixes for account status, chat cursors and general session mgmt