merge index.html with front end