added last phase run() to ApplicationController & mediator