simplify jinja auth/deauth logic
add start/end date form