Clean up ApplicationController