Updated user status query.
Added logging to PresenceMonitor.