minor fixes of user-api ends