functions to generate unique username based on name
hide username from registration field, and auto generate it