Implemented Ajax in the admin panel