Added form to admin panel for AD settings