AppController and its behaviors do not have a method or closure named "setAppData".