changed __init__ to debug mode / added login page