def search_user():
    in_args, fields, body = parse_and_print_args()
    res= Database_op.find_partial("user_credentials",body)
    ans = {}
    x = 0
    for i in res:
        ans[x] = i["username"]
        x += 1
    return json.dumps(ans), 200, {"content-type": "application/json; charset: utf-8"}
def display_members():
    in_args, fields, body = parse_and_print_args()
    res = Database_op.find_partial("user_credentials", body)
    return json.dumps(res), 200, {
        "content-type": "application/json; charset: utf-8"
    }