Fixed upload so only requires one login