REGISTRAR: fixed SQL in check for similar users