Hey Dear #laravel Coder/User
Don't forget to always protect your route keyword from being used as username, rather ad prefix to it.
=>Don't route a user page like site.com/user
Reason: a malicious user can decide to use one of your important route as their username for example /login or /signup
Now imagine someone trying to visit the user profile page whose username is "login".
:-> Your login route is site.com/login
:-> The user's route is site.com/login
Depending on how you arrange your route in web.php will determine which route will respond first. God forbid that you place the user profile route first.