fixed the insert user to api