hooking data upload up to the admin panel