not related, but its about time we start converging the api app controller and the ui app controller, code like find_resource can be used everywhere.