updated api to "userID" from "user"