Now i am using localhost:801/login to access the login controller. instead of i would like to access it admin how to do that i need to set it to routs or i don't know can u help me
Currently you are using 'localhost:801/login' url to login for admin user but instead of using 'login' route you want to use 'localhost:801/admin' url.
just go and search and type this " Illuminate\Routing\Router" and under " public function auth()" change login to admin (as what u want) and check localhost:8000/admin it will redirect to login page and don't forget to change handler.php "return redirect()->guest('login');" to "return redirect()->guest('admin');"