{% if user.is_authenticated %}
    <h2>Hi!{{ user.username }}</h2>
        {% if all_files %}
            <h3>Hi!Here are your files</h3>
            <ul>
                {% for file in all_files %}
                    <li>{{ file.file_name }}</li>
                {% endfor %}

            </ul>
        {% else %}
            <h3>Oops!You do not have any files</h3>
        {% endif %}
        <p><a href="{% url 'logout' %}" >Logout</a> </p>
{% else %}
    <p><a href="{% url 'login' %}">Login Here</a> </p>
{% endif %}
