Add upload UI and fix incorrect login UI flows