changes to devise reg secret