week7 blog login and logout