handle asleep users before and after midnight