changed headerer addAuth to setAuth