Get rid of logout in menu bar and put it in tree menu

Ticket:	#5430