Add login_required decorator to restricted URL

* import decorators from django.contrib.auth
User can log out from home page

* if user is authenticated, different links displayed
User must be logged in to add pages or categories
Add base template to tango with django