* Added alidation for currentUserRole ==nill when checking for roles