updated demo ui and added index.php