index and update functions complete. TODO: restrict update to post only. chart page. ajax pagination
finished product page (STILL NEED TO RESTRICT POST ONLY), begin work on chart page
final