20141023实现了注册功能

Signed-off-by: Shenghai.Hu <903655326@qq.com>