connecting admin form to the server API