add assign pin, changes features for buy ticket