finish auth stuff