Unique username in field

So i use Userkit and want to define a username field in the blueprints.

I want each user to have a unique username and if its already taken then it’ll throw up an error. Is there any checks i can do to perform such action?

Where do users enter this username?

Upon registering for an account on the sign up page.

You would have to adapt the controller and validate the field input.