We need the `isUserNameAvailable` with a callback as that makes sure that no synchronous ajax requests are done. I will pass the username into the function though.