{% if current_user is defined and current_user.is_authenticated %}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{% if not (category == 'success' and message == 'Login realizado com sucesso!') %}