added logout to other pages