To keep memoization, we can use this snipped:
```ruby
unless defined?(@current_user)
  @current_user = login_from_session || login_from_other_sources || nil
end
@current_user
```