user()->token()->revoke(); return response()->json([ 'message' => 'You are successfully logged out', ]); } }