adding http auto-refresh