Logout button fix