check userType