Fix user check for downloadable files