hide and show of sidebar and logout.