id in where statement. new session should be valid