added logout to logout button