using index.html content for response