check session if before check is out