translation of Devise gem for self study.