this creates a basic table layout on index page