Revert structure for authentication