add time session checking