added an attribute for auth_type