changed index2.php to addEvent.php