fixed: auto generation of username now always makes valid usernames
wrapped version 1.2