modified changes in home.php and update events table as specified in the sqlquery.txt