add logout and show username
solve req.flash
Merge branch 'nb_blog_matthewyao'
add email md5 and login fail info
merge master