redirect users to the correct page for download action