Delete PlannedFramework and fix method level authentication null point exception