Well, the progress bar and success message cant really be used on the same page.
you should add a page redirect behavior to send the user to a another page after the logout has completed.
on the server behaviors panel, click the plus button, and select WebAssist -> Utilities -> Server Redirect, set the trigger to upload file successful.