Fix image Authentication in app model pin.rb