Logout button and wait screen