Finally the changes I made to add.php and sessiondetails.php