I want my app to detect when a username is already taken and change it. In fact, when the user register himself he enter his last and first name and the username is lastName.firstName. How do I detect the username is already taken and how to change it (add a number for example) ?
Thanks.