finish pending test on clear_cookie
update session comment
add flash helper