+ # If you log in to the admin account, you can su to a customer account and still have access to su back to admin. That's why we're checking for admin not "contractor" here.
+ if(!logged_in_as_admin()) {
$GLOBALS['url'] = this_url();
message('You must be logged in as an administrator to access that function');
return 'login';
$GLOBALS['url'] = this_url();
message('You must be logged in as an administrator to access that function');