Adding a bunch of auth stuff