Update ApplicationController.cs