updated admin to handle client_id correctly