{% extends "base.html" %}

{% block title %}Index Page{% endblock %}

{% block content %}
<h1>Index Page</h1>
    {% if current_user.is_authenticated %}
        <h3>Hello {{ current_user.username }}</h3>
    {% else %}
    <h3>No user is authencitaced!</h3>
    {% endif %}
    <a href="{{ url_for('login') }}">Login</a><br> 
    <a href="{{ url_for('signup') }}">Signup</a><br> 
    <a href="{{ url_for('logout') }}">Logout</a><br> 
    <a href="{{ url_for('secret') }}">Secret</a><br> 
{% endblock %}
