updated index html and used php to serve page