Cache settings change

add content reload, when user open ‘main’ page, and reload ‘login’
page, when user logout.