Upload user quit logic

Upload user quit logic