Update index.php

Store all usernames in lowercase.
Changed panel location.
Added $_SESSION.
Added template for HTML.
 > need to add form.