changed the auth stuff