added session inactive layer for client