Update user.rb

Update authentificate method (pseudo support)