Registration reworked again, index.php finished.