Pass user to get_custom_attributes and not ticket