add security check for mastery and tactic interfaces