Check whether a username is available before setting it
Overview
useCheckUsernameAvailability returns a function that checks whether a given username is available in the project. Use this to validate a username in real time before calling updateUser.