Root Slug for Profiles

Hello, so I’m trying to do something similar to what some websites are doing, and thats having a root slug as a profile

Example:
This is currently working:
myurl.com/profile/bob123

But this is what I want:
myurl.com/bob123
OR
myurl.com/@bob123

So whenever bob123 edits his profile, the changes are reflected onto the profile located at myurl.com/bob123 , essentially showing the dynamic information by grabbing Data based on the URL path, like:
On page load > Search for Users:first item where User’s slug = Get path from page URL , but I have a strong feeling this is wrong since its not working.

I know for a fact that someone has found a way but they refuse to tell me how

I also tried to make a page called “/” but that renamed the page to “_” which made the url: myurl.com/_/bob123

I beg for someone to tell me how this is done!