modified devise.rb