An XML-based agent model for supporting user activities on the Web