login flash messages via cookies, login template