auth()->user()->name;
auth()->id();

be sure that you are logged in. and use that