Move auth stuff to its own class