Cahnged login from redirect to popup on upload page