Removed hard coded "index.php" in relevant PHP files