Setup auto refresh loop (note that this is asynchronous, so it will only
refresh the relevant portion of the page).  We still need to set it up
so that it checks to see if it needs to refresh.  Right now, it will
just reread the database every 10 seconds.