Try inside this in the main template file:

{% block access %}  
    {% requireLogin %}
{% endblock %}