def tryagain(): return jtemplate('views/login', title="Login please", error="Invalid credentials", name="me gusta")
def login(): return jtemplate('views/login', title="Login please", name="me gusta")
def task(): username = auth.checkUserCookie() if username != "Noname": return jtemplate('views/task', title="tasklist", loggedIn="true", name="me gusta") else: bottle.redirect("/login")