Add logic for redirect for non-admin users for the upload page