refactored user role check