setMobile and updatePresence to control online state