added logout to every page