still can't figure out how to query from model in index.php