User Authorization and download file after login