Backend/modify ticket auth logic