Check if current_user exists in template

Fixes #4