Almost finished the first index page. Need to add error handling