day summary query now handles errors sorta
added sync link to header