added CheckUserTypePermission method