added rendering and redirects to index.php
added readme // small tweaks index.php