linked events.php to the event tab