Updated index to use html