setup client IDs and wired in basic endpoint