Fixing wrong variable name
Only show profile template when user is logged in. See #6