get user id using json