table rendering functionality with fake data in index.html