fix bad return value from user_add()