Perhaps make it `$curUser = $app->wg->User;` instead? I use `$user` as the representation of the message wall owner