```ruby
class PerformanceController < ApplicationController

  def index
    @perf = current_user.performance
  end
end
```

Add some http basic auth with a string password
user
```ruby
class PerformanceController < ApplicationController
  http_basic_authenticate_with name: "perf", password: "speedracer"

  def index
    @perf = current_user.performance
  end
end
```
assistant