User Authentication

Added authentication check to all pages via the base template so nothing
can be accessed without logging in.