update Application Controller.

add method.
Merge pull request #2 from ispern/feature/8291

update Application Controller.