fixed auth stuff.