Update index.php

Updated front end page, need php for login and functions