@synerops Like @jlrdw says, there is a big difference between authentication and authorization. Authentication allows you to log into the system, while authorization allows you to do things inside the system after being authenticated. Those authorities are usually handled by roles, one such roll could be admin.
There are a lot of ways to do that built into Laravel.
https://laravel.com/docs/11.x/authorization
If it is just one admin you could do something very simple like
//User model
public function isAdmin()
{
return $this->id === 1;
}
And in your controller,
if (Auth::user()->isAdmin()) {
return view('products.create');
}
Be aware that this requires the admin user to have the id of one.
There is also a package from Spatie that helps with roles.
https://spatie.be/docs/laravel-permission/v6/introduction