{% if user.is_authenticated %}

Data uploaded! Redirect to the previous pages.

{% endif %}