Added in some auth stuff