{% if session_data.authenticated %} You are authenticated! {% else %} You are not authenticated! {% endif %}