Modified devise.rb