I'm assuming you do not need to expose these variable in the view. Change them to `user_projects` and `repositories` instead. Same comment in the lines below this.

Also, maybe it's better to calculate for these values right before you need them. e.g. after these:
```ruby
# ...
    @title = @user.name

    user_projects = @user.authorized_projects.accessible_to(@user)
    repositories = user_projects.map(&:repository)
    repositories.map do |raw|
# ...
```