Added a decorator that restricts access to admin pages to admin users only