added addagent.php