added all-presence and presence messages as well as message active and user active checks