Update ApplicationController.java