corrected application_controller