add APIs for users, in the util dir