checkAuth()) { die('{"status":500, "error":"Unauthorized"}'); }