<?php

require '../header.php';

require_login();

$data = $_SESSION;

header('Content-Type: application/json');
echo json_encode($data);
exit();