[i/220] adding proper SQL to select proper users