save user type.