Update authentication.rb