clear cookie before redirect
trying stuff, init
Made flash independent of session