added support for -username -password -email