Revert devise