extract init method from AdminController constructor