displays model data in index.html