ad db api for user, refact all apis
ad db api for user, refact all apis