Update index.php

added remove functionality