Added usernameAvailable method

Added usernameAvailable method