if((not defined $username) || ($username eq ""))