put variable inside relevant if statement to allow view without being logged in
Merge pull request #51 from neapolitan-a-la-code/hotFix

put variable inside relevant if statement to allow view without being lo...