implemented AGENT and USER item types (closes #4)