added a logout button to the auth waiting