Fixed the auth stuff