Adding PHP security on index.php