made User role checking more semantic