add function of creating app_api_sign