public function isAuthenticated() { $jwt = new authentication(); $token = $jwt->validate(); $this->json($token); }