replaced sorcery with devise.