changed the authorization so that person is redirected to join page when trying to download or preview document