add auth stuff to db