#user registeration: [Haidong Zhang & ] - add function and callback