Main page scanning fix

main page now forces user to enter user barcode first