Update index.php

front end work, need php for login