Issue 2798: Logged-out comments on restricted works
Adding comment controller changes
Fixing two typos
Adding logged_in check