Sinatra app to translate a scanned user barcode into a username