add check current_user.nil?

simple bug I found.
use 
```ruby
if signed_in? && current_user.admin?
```