adds author associations to documents, changes session_token to token