Optimize exclude existing usernames in generate_username