should do this:
```ruby
@current_user ||= User.find_by_id(session[:current_user_id]) if session[:current_user_id]
```
there are obscure ways your current implementation could bite you