did some auth stuff but db uncooperative