Issue 50

Restricting certain actions to logged in users