Updated roleCreate() and checkPermissions()