add cursor to app-controller