Sessionlog acc query