Logout button is now functional