add isGranted into base constroller