adding user id for api