application controller refactored