add security code check to enable basket sharing functionality