Asynchronously writes authtoken to DB