added logout and menu to some pages