Erdogan seeks control after coup attempt in Turkey