Automaticly assign membership by scanning its barcode