set auth to variables