task/ta29 -- integrate agent_id check into loader

loader.py
* modified the process() method to incorporate an Agent Id check.