Fixed up dynamic navbar and minor changes

The navbar now doesn't show links to administrator pages when you're not
logged in as one.