Modified to hide the download link if user doesn't have permission

fixes #29
Merge pull request #33 from shizm/shizm/require-ability-to-download

Modified to hide the download link if user doesn't have permission