Added authentication to admin pages.