adding aad2 to admin panel functionality, updated admin patch to allow for direct editing of admin file