pass request into respond_save_credential