Logout(); $response['result'] = 'SUCCESS'; sleep(1); echo json_encode($response);