Fixed: AccessDenied exception for the two custom actions in applications_controller.