session skip logic added