added two tables onload to the index page