Added support for sending username instead of email when creating users