fixes to admin access