Max Users in Logarithmic Query Time