enhance the user api for register
enhance the message api for add message by parent